package com.yuyou.fn.educational.service;

import com.github.wens.framework.service.ISuperService;
import com.github.wens.mybatisplus.plugins.Page;
import com.yuyou.fn.educational.entity.ClassExpandDetail;
import com.yuyou.fn.educational.vo.ClassExpandDetailVo;
import com.yuyou.fn.educational.vo.ClassExpandQueryVo;
import com.yuyou.fn.educational.vo.CourseClassQueryVo;
import com.yuyou.fn.platform.permission.DataPermission;
import org.apache.poi.xssf.streaming.SXSSFWorkbook;

import java.util.List;

/**
 *
 * ClassExpandDetail 表数据服务层接口
 *
 */
public interface IClassExpandDetailService extends ISuperService<ClassExpandDetail,Long> {

    List<ClassExpandDetailVo> findClassExpandDetail(ClassExpandQueryVo classExpandQueryVo, CourseClassQueryVo courseClassQueryVo, List<Long> busTeamIds, int start, int size);

    Integer countClassExpandDetail(ClassExpandQueryVo classExpandQueryVo,CourseClassQueryVo courseClassQueryVo,List<Long> busTeamIds);

    Page<ClassExpandDetailVo> findClassExpandDetail(ClassExpandQueryVo classExpandQueryVo, CourseClassQueryVo courseClassQueryVo, DataPermission dataPermission , int pageNo, int pageSize);

    SXSSFWorkbook exportClassExpandDetail(ClassExpandQueryVo classExpandQueryVo, CourseClassQueryVo courseClassQueryVo, DataPermission dataPermission) ;

    void updateClassState(List<Long> classIds,Integer changeState, Integer intoState,Integer onlineState,Integer isRecommend);


}